package com.ctgu.蓝桥杯真题.B组2014;

/**
 * @author: Backdiy
 * @data: 2021/4/15 20:19
 * @desc:
 */
public class 猜字母3 {
    public static void main(String[] args) {
        String builder = new String("abcdefghijklmnopqrs");
        StringBuilder append = new StringBuilder("");
        for (int i = 0; i < 106; i++) {
            append.append(builder);
        }
        while (append.length() > 1) {
//            System.out.println(append);
            int x = 0;
            for (int i = 0; i < append.length(); i++) {
                if (i % 2 == x) {
                    append.deleteCharAt(i);
                }
                x = x ^ 1;
            }
        }
        System.out.println(append);
    }
}
